package test;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = AppConfig.class)
public class SpringTest {
    
    @Autowired
    private ApplicationContext context;
    
    @Test
    public void testContextLoad() {
        assertNotNull(context);
        System.out.println("Spring容器加载成功!");
    }
}